package rkw.database.repositories;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import rkw.database.model.Election;
import core.database.ElectionStatus;

@Transactional
public interface ElectionRepository extends JpaRepository<Election, Long> {

	Election findByIdentificationField(Long identificationField);

	Election findByStatus(ElectionStatus status);

}
